package cn.deschen.search.mysql.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author hanbin_chen
 * @Description mysql-binlog配置文件
 * @DateTime 2021/6/9
 * @Version V1.0.0
 */
@Data
@ConfigurationProperties(prefix = BinlogProperties.PREFIX)
public class BinlogProperties {

    public static final String PREFIX = "mysql.binlog";

    private String host;
    private Integer port;
    private String username;
    private String password;

    private String binlogName;
    private Long position;

    private String sender;
}
